<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/IC_Driver/TP_GT911.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_27151ef53f10301e424ca52b7f0da996.html">IC_Driver</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">TP_GT911.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_t_p___g_t911_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#ifndef __TP_GT911_H__</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#define __TP_GT911_H__</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &quot;<a class="code" href="dev__touch_8h.html">dev_touch.h</a>&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#ifndef __DEV_TOUCH_H__</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">   33</a></span>    <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">   35</a></span>        <a class="code hl_enumvalue" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0, </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>        <a class="code hl_enumvalue" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>       </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">   37</a></span>    } <a class="code hl_enumeration" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        uint16_t x;         </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>        uint16_t y;         </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>        <a class="code hl_enumeration" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a> event;   </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        uint8_t width;      </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>        uint8_t track_id;   </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    } <a class="code hl_struct" href="structtp__data__t.html">tp_data_t</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>uint8_t <a class="code hl_function" href="_t_p___g_t911_8h.html#a5608f2d5eda0220a6ac23f3c87a46b20">gt9x_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>uint8_t <a class="code hl_function" href="_t_p___g_t911_8h.html#aa83bf1a4b564b246d303c28944d275fb">gt9x_read_points</a>(<a class="code hl_struct" href="structtp__data__t.html">tp_data_t</a> *p_data, uint8_t points);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">#endif </span><span class="comment">//__TP_GT911_H__</span></div>
<div class="ttc" id="a_t_p___g_t911_8h_html_a5608f2d5eda0220a6ac23f3c87a46b20"><div class="ttname"><a href="_t_p___g_t911_8h.html#a5608f2d5eda0220a6ac23f3c87a46b20">gt9x_init</a></div><div class="ttdeci">uint8_t gt9x_init(void)</div><div class="ttdoc">初始化 TP_IC</div><div class="ttdef"><b>Definition:</b> <a href="_t_p___g_t911_8c_source.html#l00177">TP_GT911.c:177</a></div></div>
<div class="ttc" id="a_t_p___g_t911_8h_html_a9fffde3171a44771a6e9f8f0cbb52d71"><div class="ttname"><a href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a></div><div class="ttdeci">tp_event_t</div><div class="ttdoc">触摸事件枚举</div><div class="ttdef"><b>Definition:</b> <a href="_t_p___g_t911_8h_source.html#l00033">TP_GT911.h:34</a></div></div>
<div class="ttc" id="a_t_p___g_t911_8h_html_a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"><div class="ttname"><a href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a></div><div class="ttdeci">@ TP_EVENT_PRESSED</div><div class="ttdoc">触屏按下</div><div class="ttdef"><b>Definition:</b> <a href="_t_p___g_t911_8h_source.html#l00037">TP_GT911.h:36</a></div></div>
<div class="ttc" id="a_t_p___g_t911_8h_html_a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"><div class="ttname"><a href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a></div><div class="ttdeci">@ TP_EVENT_RELEASED</div><div class="ttdoc">触屏释放</div><div class="ttdef"><b>Definition:</b> <a href="_t_p___g_t911_8h_source.html#l00035">TP_GT911.h:35</a></div></div>
<div class="ttc" id="a_t_p___g_t911_8h_html_aa83bf1a4b564b246d303c28944d275fb"><div class="ttname"><a href="_t_p___g_t911_8h.html#aa83bf1a4b564b246d303c28944d275fb">gt9x_read_points</a></div><div class="ttdeci">uint8_t gt9x_read_points(tp_data_t *p_data, uint8_t points)</div><div class="ttdoc">读取触摸点数据</div><div class="ttdef"><b>Definition:</b> <a href="_t_p___g_t911_8c_source.html#l00241">TP_GT911.c:241</a></div></div>
<div class="ttc" id="adev__touch_8h_html"><div class="ttname"><a href="dev__touch_8h.html">dev_touch.h</a></div><div class="ttdoc">TP 触摸设备驱动层</div></div>
<div class="ttc" id="adev__touch_8h_html_a9fffde3171a44771a6e9f8f0cbb52d71"><div class="ttname"><a href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a></div><div class="ttdeci">tp_event_t</div><div class="ttdoc">触摸事件枚举</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8h_source.html#l00119">dev_touch.h:120</a></div></div>
<div class="ttc" id="astructtp__data__t_html"><div class="ttname"><a href="structtp__data__t.html">tp_data_t</a></div><div class="ttdoc">触摸数据结构体</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8h_source.html#l00126">dev_touch.h:127</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
